from typing import Optional

from pydantic import BaseModel


class BackendAuthLoginModel(BaseModel):
    username: Optional[str]
    password: Optional[str]


class BackendGetUserInfoRequest(BaseModel):
    user_id: int
